@extends('layouts.dashboard')

@section('content')
    <div class="box box-solid box-default">...</div>
    <div class="box box-solid box-primary">...</div>
    <div class="box box-solid box-info">...</div>
    <div class="box box-solid box-warning">...</div>
    <div class="box box-solid box-success">...</div>
    <div class="box box-solid box-danger">...</div>
@endsection
@section('nav')
    @foreach ($nav as $v)
        <li class="nav-item d-sm-inline-block">
            <a href="#" onclick="__loadsidebar({{ $v['id'] }})" class="nav-link">{{ $v['name'] }}</a>
        </li>
    @endforeach
    <script>
        $(document).ready(function() {
            __loadsidebar(1);
        })
    </script>
@endsection
